import QtQuick
import QtQuick3D

Node {
    id: node

    // Resources
    property url textureData: "maps/textureData.png"
    Texture {
        id: texture
        pivotU: 0.5
        pivotV: 0.5
        positionV: -1
        generateMipmaps: true
        mipFilter: Texture.Linear
        source: node.textureData
    }

    // Nodes:
    Node {
        id: rootNode
        Model {
            id: bed
            source: "meshes/bed.mesh"
            materials: mc_material_material
        }
    }

    Node {
        id: __materialLibrary__

        PrincipledMaterial {
            id: mc_material_material
            objectName: "mc_material_material"
            baseColorMap: texture
        }
    }

    // Animations:
}
